package comunicacion;

import java.io.Serializable;

public class Mensaje implements Serializable{
    private static final long serialVersionUID = 1L;
    private int id;
    private double x, y, z, xDest, yDest, zDest;
   
    public Mensaje(int id, double x, double y, double z, double xDest, double yDest, double zDest){
        setId(id);
        setX(x);
        setY(y);
        setZ(z);
        setXDest(xDest);
        setYDest(yDest);
        setZDest(zDest);
    }

    public int getId() {
        return id;
    }
    
    public void setId(int id) {
        this.id = id;
    }
    
    public double getX() {
        return x;
    }
    
    public void setX(double x) {
        this.x = x;
    }
    
    public double getY() {
        return y;
    }
    
    public void setY(double y) {
        this.y = y;
    }
    
    public double getZ() {
        return z;
    }
    
    public void setZ(double z) {
        this.z = z;
    }
    
    public double getXDest() {
        return xDest;
    }
    
    public void setXDest(double xDest) {
        this.xDest = xDest;
    }
    
    public double getYDest() {
        return yDest;
    }
    
    public void setYDest(double yDest) {
        this.yDest = yDest;
    }
    
    public double getZDest() {
        return zDest;
    }
    
    public void setZDest(double zDest) {
        this.zDest = zDest;
    }
}
